package cn.homework.domain;

/**
 * @author ACT
 */
public class OrderDetails {
    private Integer order_id;
    private String id;
    private String name;
    private Float price;
    private Integer number;

    public OrderDetails() {
    }

    public OrderDetails(Integer order_id, String id, String name, Float price, Integer number) {
        this.order_id = order_id;
        this.id = id;
        this.name = name;
        this.price = price;
        this.number = number;
    }

    public Integer getOrder_id() {
        return order_id;
    }

    public void setOrder_id(Integer order_id) {
        this.order_id = order_id;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    @Override
    public String toString() {
        return "OrderDetails{" +
                "order_id=" + order_id +
                ", id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", price=" + price +
                ", number=" + number +
                '}';
    }
}
